package com.anhuanjia.tools.eao.bean;

import java.util.Date;

import com.efastsoft.framework.annotation.dao.Column;
import com.efastsoft.framework.annotation.dao.Indexes;
import com.efastsoft.framework.annotation.dao.Table;
import com.efastsoft.framework.data.DataType;
import com.efastsoft.framework.orm.DAO;

/**
 * 操作日志表
 * 
 * @author Administrator
 *
 */
@Table("eao_operation_log")
@Indexes("")
@SuppressWarnings("serial")
public class EaoOperationLog extends DAO<EaoOperationLog> {

	@Column(type = DataType.STRING, precision = 0, mandatory = true, pk = true)
	protected String Id;// 主键

	@Column(type = DataType.LONG, length = 20)
	protected long MemberId;// 用户id

	@Column(type = DataType.STRING, length = 50)
	protected String MemberName;// 用户姓名

	@Column(type = DataType.STRING, length = 20)
	protected String LoginIp;// 登录ip

	@Column(type = DataType.INTEGER, length = 11)
	protected Integer Count;// 当前登录次数

	@Column(type = DataType.STRING, length = 100)
	protected String Operation;// 内容

	@Column(type = DataType.DATETIME, length = 11)
	protected Date CreateTime;// 创建时间

	@Column(type = DataType.STRING, length = 500)
	protected String Summary;// 备注

	@Column(type = DataType.LONG, length = 20)
	protected long CompanyId;// 用户id
	
	@Column(type = DataType.STRING, length = 100)
	protected String CompanyName;// 备注

	@Column(type = DataType.STRING, length = 100)
	protected String MemberMobile;// 用户手机号
	
	@Column(type = DataType.STRING, length = 100)
	protected String CompanyMobile;// 机构手机号
	
	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public long getMemberId() {
		return MemberId;
	}

	public void setMemberId(long memberId) {
		MemberId = memberId;
	}

	public String getMemberName() {
		return MemberName;
	}

	public void setMemberName(String memberName) {
		MemberName = memberName;
	}

	public String getLoginIp() {
		return LoginIp;
	}

	public void setLoginIp(String loginIp) {
		LoginIp = loginIp;
	}

	public Integer getCount() {
		return Count;
	}

	public void setCount(Integer count) {
		Count = count;
	}

	public String getOperation() {
		return Operation;
	}

	public void setOperation(String operation) {
		Operation = operation;
	}

	public Date getCreateTime() {
		return CreateTime;
	}

	public void setCreateTime(Date createTime) {
		CreateTime = createTime;
	}

	public String getSummary() {
		return Summary;
	}

	public void setSummary(String summary) {
		Summary = summary;
	}

	public long getCompanyId() {
		return CompanyId;
	}

	public void setCompanyId(long companyId) {
		CompanyId = companyId;
	}

	public String getCompanyName() {
		return CompanyName;
	}

	public void setCompanyName(String companyName) {
		CompanyName = companyName;
	}

	public String getMemberMobile() {
		return MemberMobile;
	}

	public void setMemberMobile(String memberMobile) {
		MemberMobile = memberMobile;
	}

	public String getCompanyMobile() {
		return CompanyMobile;
	}

	public void setCompanyMobile(String companyMobile) {
		CompanyMobile = companyMobile;
	}

}
